package me.spring.cloud.common.components.rabbitmq.configuration.dlx;

import me.spring.cloud.common.components.rabbitmq.configuration.simple.SimpleQueueConfiguration;
import org.springframework.amqp.core.Binding;
import org.springframework.amqp.core.Queue;

/**
 * @author luffy
 * @description: 延时队列
 * @date 2019-05-24 16:35
 */
public interface DLXQueueConfiguration extends SimpleQueueConfiguration {

  /**
   * @Return org.springframework.amqp.core.Queue
   * @Author luffy
   * @Description 创建延迟队列Bean
   * @Date 2019-05-24 18:14
   * @Param []
   **/
  Queue createDeadLetterQueueBean();

  /**
   * @Return org.springframework.amqp.core.Binding
   * @Author luffy
   * @Description 创建绑定死信队列Bean
   * @Date 2019-05-24 18:15
   * @Param []
   **/
  Binding createDeadLetterBindingBean();

}
